<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class UserFeedback extends Model
{
    protected $table = 'user_feedback';
    const CREATED_AT = 'create_time';
    const UPDATED_AT = 'update_time';
    protected $fillable = [
      'user_id','type','content','contact'
    ];
    public function image(){
       return $this->hasMany('App\Models\UserFeedbackImage','feedback_id','id');
    }

}
